package cn.edu.zzuli.nothinglink.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author suzyyy
 * @since 2021-04-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WorkPutPostponeRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "wppr_id", type = IdType.AUTO)
    private Integer wpprId;

    /**
     * 请求推迟作业的人
     */
    private Integer stuId;

    /**
     * 0为未审批，1为同意,2为拒绝
     */
    private Integer status;

    /**
     * 请求推迟的作业id
     */
    private Integer workId;

    /**
     * 记录id
     */
    private Integer wpId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(exist = false)
    private LocalDateTime postponeTime;

    @TableField(exist = false)
    private String courseName;

    @TableField(exist = false)
    private String workName;



}
